using static WolvenKit.RED4.Types.Enums;

namespace WolvenKit.RED4.Types
{
	public partial class worldPhysicalFractureFieldNode : worldNode
	{
		[Ordinal(4)] 
		[RED("shape")] 
		public physicsTriggerShape Shape
		{
			get => GetPropertyValue<physicsTriggerShape>();
			set => SetPropertyValue<physicsTriggerShape>(value);
		}

		[Ordinal(5)] 
		[RED("fractureFieldParams")] 
		public physicsFractureFieldParams FractureFieldParams
		{
			get => GetPropertyValue<physicsFractureFieldParams>();
			set => SetPropertyValue<physicsFractureFieldParams>(value);
		}

		public worldPhysicalFractureFieldNode()
		{
			Shape = new physicsTriggerShape { ShapeSize = new Vector3 { X = 1.000000F, Y = 1.000000F, Z = 1.000000F }, ShapeLocalPose = new Transform { Position = new Vector4(), Orientation = new Quaternion { R = 1.000000F } } };
			FractureFieldParams = new physicsFractureFieldParams { Origin = new Vector3(), FractureFieldValue = 50.000000F, FractureFieldTypeMask = Enums.physicsFractureFieldType.FF_FractureFieldNode };

			PostConstruct();
		}

		partial void PostConstruct();
	}
}
